package sizeyunsuan;

import java.util.Scanner;
import java.util.Scanner;

public class main {

    public static Scanner scanner=new Scanner(System.in);
    public static void main(String[] args) {

        int i=5;
        int correct=0;

        Output out;

        while(i>0){

            out=new Output();

            System.out.print(out.getString());
            String s=scanner.nextLine();

            if(out.panduan(s)){
                System.out.println("回答正确！");
                correct++;
            }else{
                System.err.println("回答错误！");
            }
            i--;
            System.out.println("还有"+i+"道题未回答");
        }

        System.out.println("恭喜你！，回答完毕，回答正确的为"+correct+"道");

    }
}
